package penjadwalan;
import java.util.List;
public class Machine {
    // atribut wajib
    private int BebanKerjaPerHari; // T
    private int BebanKerjaPerPeriode; // W
    private int Istirahat; // S
    private int Produktivitas; // P
    private int CostOverload; // C
    private int BiayaSewa; // R
    private int PosX; // posisi x
    private int PosY; // posisi y
    private int Dependency;
    // atribut pelengkap
    private List <Barang> BahanBaku; // berupa id
    public Machine(){
        
    }
    public Machine(int T, int W, int S, int P, int C, int R, int dependency){
        BebanKerjaPerHari = T;
        BebanKerjaPerPeriode = W;
        Istirahat = S;
        CostOverload = C;
        BiayaSewa = R;
        Dependency = dependency; // 0 jika tak ada ketergantungan
    }  
    public int getDependency(){
        return Dependency;
    }
    public int getBebanKerjaPerHari(){
        return BebanKerjaPerHari;
    }
    public int getBebanKerjaPerPeriode(){
        return BebanKerjaPerPeriode;
    }
    public int getIstirahat(){
        return Istirahat;
    }
    public int getProduktivitas(){
        return Produktivitas;
    }
    public int getCostOverload(){
        return CostOverload;
    }
    public int getBiayaSewa(){
        return BiayaSewa;
    }
}
